﻿using System;
namespace HHModel
{
	/// <summary>
	/// Roles:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Roles
	{
		public Roles()
		{}
		#region Model
		private int _id;
		private string _rolename;
		private string _functionintro;
		private string _pagepowers;
		private int? _sort=0;
		private int? _openstate=1;
		private string _creater;
		private DateTime? _createtime= DateTime.Now;
		private string _lastupdater;
		private DateTime? _lastupdatetime;
		/// <summary>
		/// ID编号
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 角色名称
		/// </summary>
		public string RoleName
		{
			set{ _rolename=value;}
			get{return _rolename;}
		}
		/// <summary>
		/// 功能简介
		/// </summary>
		public string FunctionIntro
		{
			set{ _functionintro=value;}
			get{return _functionintro;}
		}
		/// <summary>
		/// 角色所拥有的页面权限ID
		/// </summary>
		public string PagePowers
		{
			set{ _pagepowers=value;}
			get{return _pagepowers;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? Sort
		{
			set{ _sort=value;}
			get{return _sort;}
		}
		/// <summary>
		/// 状态（0：禁用1：启用）
		/// </summary>
		public int? OpenState
		{
			set{ _openstate=value;}
			get{return _openstate;}
		}
		/// <summary>
		/// 创建人
		/// </summary>
		public string Creater
		{
			set{ _creater=value;}
			get{return _creater;}
		}
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime? CreateTime
		{
			set{ _createtime=value;}
			get{return _createtime;}
		}
		/// <summary>
		/// 最后修改人
		/// </summary>
		public string LastUpdater
		{
			set{ _lastupdater=value;}
			get{return _lastupdater;}
		}
		/// <summary>
		/// 最后修时间
		/// </summary>
		public DateTime? LastUpdateTime
		{
			set{ _lastupdatetime=value;}
			get{return _lastupdatetime;}
		}
		#endregion Model

	}
}

